home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atlas of U.S. Presidents
/
Atlas of U.S. Presidents.iso
/
cserve
/
scripts.lib
/
POSSERVE.SCR
< prev
next >
Wrap
Text File
|
1994-09-21
|
989b
|
63 lines
!
! Copyright (c) 1994
! by CompuServe Incorporated, Columbus, Ohio
!
! The information in this software is subject to change without
! notice and should not be construed as a commitment by CompuServe.
!
! Pos-Serve:
! Connect to Pos-Serve
! Success: returns %Success
! Failure: saves error msg in %FailureMsg and returns %Failure
!
!+V
! "3.5.1"
!-V
show "Connecting to Pos-Serve LL";
Tries = 5;
on cancel goto Return_Cancel;
Wait_PosServe:
if Tries = 0 goto PosServe_Failure;
Tries = Tries - 1;
wait
"@" goto Send_CNS,
%mdm_Failure goto PosServe_Failure,
"CONNECTED" goto Return_Success
until 80;
send %CR;
goto Wait_PosServe;
Send_CNS:
wait until 5;
show "Sending Pos-Serve LL address...";
send "cns" & %CR;
goto Wait_PosServe;
PosServe_Failure:
define %FailureMsg = "Pos-Serve LL not responding";
exit %Failure;
Return_Cancel:
exit %Cancel;
Return_Success:
exit %Success;